-
Notifications
You must be signed in to change notification settings - Fork 764
Allow Staff members to message groups #5922
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
c874653
to
44283fb
Compare
3c747c5
to
361f1cf
Compare
361f1cf
to
8af5103
Compare
b65a6b7
to
d894db5
Compare
* api for messages * Update form, models, urls and tests * New .js file for users_or_groups handling * Updated tokenizer.js * Tweaks to outbox and message reading templates * icons for user, group selection dropdown
* Since validation is handled in `form_fields.py` for the to input we don't need to check again in `views.py`
Ensure errors appear on form when a To value fails validation
9a2cef1
to
e9646fa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@smithellis With this latest realization, I've changed my mind and no longer like the idea of putting is_staff
(or whatever we rename it to) on the profile. I'd vote for using the function approach instead.
15539a6
to
5d0562f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r+wc
Just a typo change.
form_fields.py
to handle group AND user selection and validationview.py
fornew_messages
new_messages
to handle Groupsmessages.autocomplete.js
entrypoints.js
to handle new filetokenizer.js
outbox.html
,read-outbox.html
and_inbox.scss
settings.py
for ourStaff
groupProfile
model forin_staff_group
in_staff_group
function tosumo/utils.py
( thanks @escattone ! )